// src/components/URLParametersList.js

import React from 'react';
import { Link, Route } from 'react-router-dom';

const List = () => (
  <div>
    <h2>Accounts</h2>
    <ul>
      <li><Link to="netflix">Netflix</Link></li>
      <li><Link to="/zillow-group">Zillow Group</Link></li>
      <li><Link to="/yahoo">Zillow Group</Link></li>
      <li><Link to="/modus-create">Modus Create</Link></li>
    </ul>
    <hr />

    <Route path="/:id" component={ListChild} />
  </div>
);

const ListChild = ({ match }) => (
  <div>
    <h3>ID: {match.params.id}</h3>
  </div>
);

export default List;
